package com.tianjin.design.mediator;

public class AaaWorker extends Worker{

    public AaaWorker(Mediator mediator) {
        super(mediator);
    }

    /**
     *  @Description: 开发人员通过中介者往外发出信息
     */
    public void send(String message) {
        System.out.println(message);
        mediator.send(message, this);
    }

    /**
     *  @Description: 开发人员收到反馈信息
     */
    public void receiver(String message) {
        System.out.println("开发人员收到反馈信息："+ message);
    }
}
